package xml;

import java.util.ArrayList;

public class TagXml {
	TagXml father=null;
	ArrayList<TagXml>taguri= new ArrayList<TagXml>();
	ArrayList<Attribute>atribute= new ArrayList<Attribute>();
	String nume=null;
    String valoare=null;
    AddAttribute atribAdder=new AddAttribute();
    DeleteAttribute atribDeleter= new DeleteAttribute();
    AddTag tagAdder= new AddTag(father, father);
    DeleteTag tagDelete = new DeleteTag();
    


	public ArrayList<Attribute> getAtribute() {
		return atribute;
	}


	public String getValoare() {
		return valoare;
	}

	public void setValoare(String valoare) {
		this.valoare = valoare;
	}

	public ArrayList<TagXml> getTaguri() {
		return taguri;
	}

	public void setNume(String nume) {
		this.nume = nume;
	}


	public TagXml(TagXml father) {
		super();
		this.father = father;
	}


	public TagXml(TagXml father, String nume, String valoare) {
		super();
		this.father = father;
		this.nume = nume;
		this.valoare = valoare;
	}


	public TagXml(TagXml father, String nume) {
		super();
		this.father = father;
		this.nume = nume;
	}


	public TagXml(String nume) {
		super();
		this.nume = nume;
	}


	public TagXml(String nume, String valoare) {
		super();
		this.nume = nume;
		this.valoare = valoare;
	}

public void addAttribute(Attribute a){
	
}
public void deleteAttribute(Attribute a){
	
}
public void addSonAttrib(Attribute a, TagXml t){
	
}
public void deleteSonAttrib(Attribute a, TagXml t){
	
}
public void addTag( TagXml t){
	
}
public void deleteTag(TagXml t){
	
}
	}